/**
 * sysPermissionModel
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:资源管理管理
 * 
 * 历史版本:2017-03-28 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysPermission.bean;

import com.fmjr.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="sysPermission", description="资源管理")
public class SysPermission extends BaseEntity implements java.io.Serializable {

	private Long id ; //
	private String name ; //名称
	private String resourceType ; //资源类型，[menu|button]
	private String url ; //资源路径
	private String permission ; //权限字符串,menu例子：role:*，button例
	private Long parentId ; //父编号
	private String parentIds ; //父编号列表
	private String available ; //是否可用
	
	private String listPermission;
	public String getListPermission() {return listPermission;}
	public void setListPermission(String listPermission) {this.listPermission = listPermission;}

	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "名称")
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	@ApiModelProperty(value = "资源类型，[menu|button]")
	public String getResourceType() {
		return resourceType;
	}
	
	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	@ApiModelProperty(value = "资源路径")
	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}

	@ApiModelProperty(value = "权限字符串,menu例子：role:*，button例")
	public String getPermission() {
		return permission;
	}
	
	public void setPermission(String permission) {
		this.permission = permission;
	}

	@ApiModelProperty(value = "父编号")
	public Long getParentId() {
		return parentId;
	}
	
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@ApiModelProperty(value = "父编号列表")
	public String getParentIds() {
		return parentIds;
	}
	
	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	@ApiModelProperty(value = "是否可用")
	public String getAvailable() {
		return available;
	}
	
	public void setAvailable(String available) {
		this.available = available;
	}
}